package org.rency.ues.engine.validator;

import org.rency.ues.domain.request.EncryptBatchRequest;
import org.rency.ues.domain.response.EncryptBatchResponse;

/**
 * $TODO
 *
 * @author: Created by user_rcy@163.com on 2016/08/02.
 * @version: V1.0.0
 * @since JDK 1.8
 */
public class EncryptBatchValidator extends AbstractRequestValidator<EncryptBatchRequest, EncryptBatchResponse>{

    @Override
    protected void validate(EncryptBatchRequest request) {

    }

    @Override
    protected String getValidatorName() {
        return "批量加密";
    }

    @Override
    protected EncryptBatchResponse success() {
        return EncryptBatchResponse.success();
    }

    @Override
    protected EncryptBatchResponse fail(String returnMessage) {
        return EncryptBatchResponse.fail(returnMessage);
    }
}
